//
//  TopImgBtnView.h
//  ocCrazy
//
//  Created by 山上山下 on 2018/10/16.
//  Copyright © 2018 dukai. All rights reserved.
//

#import <UIKit/UIKit.h>

NS_ASSUME_NONNULL_BEGIN
/// 上图片下文字btn(初始frame都是适配,方法传入的值要传适配过的值)
@interface TopImgBtnView : UIView
/// 上图片
@property (nonatomic, strong)UIImageView *img;
/// 下文字
@property (nonatomic, strong)UILabel *titleLab;
/// 点击手势
@property (nonatomic,strong) UITapGestureRecognizer *tap;
/// 给个标识符
@property (nonatomic,assign) int uid;


/// 修改图片距离父视图的top的距离(默认14)
- (void)imgContainerTopSpace:(CGFloat)space;
/// 修改图片宽高(默认23)
- (void)imgWidthHeight:(CGFloat)wh;
/// 修改图片frame
- (void)imgFrame:(CGRect)frame;
/// 修改lab距离图片底部的距离(默认11)
- (void)imgLabSpace:(CGFloat)space;
/// 修改lab的frame
- (void)titleLabFrame:(CGRect)frame;
/// 添加手势
- (void)addTapGestureTarget:(id)target action:(SEL)selector;
@end

NS_ASSUME_NONNULL_END
